package com.ibuscloud.union.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 客票购票数据文件表
 * </p>
 *
 * @author 书瞳
 * @since 2022-12-08
 */
@Data
@ApiModel(value = "Pd对象", description = "客票购票数据文件表")
public class PdExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "银联订单id", index = 0)
    private String unionpayOrderId;

    @ExcelProperty(value = "客票平台订单号", index = 1)
    private String id;

    @ExcelProperty(value = "虚拟卡号", index = 2)
    private String cardNo;

    @ExcelProperty(value = "交通出行平台用户id", index = 3)
    private String userId;

    @ExcelProperty(value = "运营商id", index = 4)
    private String opId;

    @ExcelProperty(value = "运营商名称", index = 5)
    private String opName;

    @ExcelProperty(value = "应用名称", index = 6)
    private String appId;

    @ExcelProperty(value = "业务id，区分业务场景，公交地铁", index = 7)
    private String serviceId;

    @ExcelProperty(value = "支付方式", index = 8)
    private String payType;

    @ExcelProperty(value = "原始票价", index = 9)
    private String originalPrice;

    @ExcelProperty(value = "实付款", index = 10)
    private String price;

    @ExcelProperty(value = "客票类型编码", index = 11)
    private String ticketTypeId;

    @ExcelProperty(value = "客票类型名称", index = 12)
    private String ticketTypeName;

    @ExcelProperty(value = "客票票号", index = 13)
    private String ticketAccountId;

    @ExcelProperty(value = "有效期开始，格式为：yyyy-MM-dd HH:mm:ss", index = 14)
    private String validFrom;

    @ExcelProperty(value = "有效期结束，格式为：yyyy-MM-dd HH:mm:ss", index = 15)
    private String validTo;

    @ExcelProperty(value = "支付时间，格式为：yyyy-MM-dd HH:mm:ss", index = 16)
    private String payTime;

    @ExcelProperty(value = "有效期限", index = 17)
    private String period;

    @ExcelProperty(value = "有效期单位 1-分钟 2-小时 3-天 4-周 5-月 6-年", index = 18)
    private String periodUnit;

    @ExcelProperty(value = "该类客票总使用次数，0-不限", index = 19)
    private String totalUse;

    @ExcelProperty(value = "预留扩展字段", index = 20)
    private String extInfo;

    @ExcelProperty(value = "积分兑换票价", index = 21)
    private String exchangePrice;


}
